
package com.joysuch.wwyt.monitoringcenter.bean;

import com.joysuch.wwyt.risk.bean.RiskControAnalyzeDetailBean;
import com.joysuch.wwyt.risk.bean.RiskEvaluationBusinessShowBean;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

//区域风险详情
@Data
public class DistrictRiskDetailBean {

    private DistrictInfo basicList;
    private CardListInfo cardList;
    private List<ControlRiskLevelInfo> controlList = new ArrayList<>(3);

    @Data
    public static class DistrictInfo {
        private Long id;
        private String name;
        private String number;
        private String areaDangerLevel;
        private String dangerLevel;
        private String company;
        private String perople_res;
        private String time_assess;
        private String people_assess;
        //责任单位名称
        private String responsibleDepartName;

    }

    @Data
    public static class CardListInfo {
        private List<SheetDetailInfo> listOne = new ArrayList<>(3);
        private List<SheetDetailInfo> listTwo = new ArrayList<>(3);
        private String cardOne;
        private String cardTwo;
        private String cardThree;
    }

    // 两单信息
    @Data
    public static class SheetDetailInfo {
        // 区域
        private String area;
        // 类型
        private String type;
        //风险等级
        private String level;
        // 责任单位
        private String company;
        // 责任人
        private String people;
        // 来源
        private String source;
        // 风险辨识
        private String riskIdentifyContent;
        //存在的主要危险(有害)因素
        private String unstandardSituationConsequence;
        // 容易发生的事故类型
        private String accidentType;
    }

    // 控制风险信息
    @Data
    public static class ControlRiskLevelInfo {
        // 风险点id
        private Long riskPointId;
        // 风险点名称
        private String name;
        // 类型
        private String type;
        // 评估时间
        private String time;
        // 评估人
        private String people;
        // 风险级别
        private String level;
    }

    private List<RiskControAnalyzeDetailBean> detailList;
    //风险区域详情
    private RiskEvaluationBusinessShowBean districtShowBean;

    //管控措施
    private List<RiskControAnalyzeDetailBean> riskControlList;
    private Long riskControlNumber;

}
